package com.fortune.dto.in.pRole;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 
 * @author ran
 *
 */
public class PRoleEditDto {
	@NotBlank(message="岗位id不能为空")
	@ApiModelProperty(required=true, example="岗位id")
	private String roleId;
	@NotBlank(message="岗位名称不能为空")
	@ApiModelProperty(required=true, example="岗位名称")
	private String name;
	@NotBlank(message="岗位说明不能为空")
	@ApiModelProperty(required=true, example="岗位说明")
	private String memo;

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	@Override
	public String toString() {
		return "PRoleEditDto{" +
				"roleId='" + roleId + '\'' +
				", name='" + name + '\'' +
				", memo='" + memo + '\'' +
				'}';
	}
}
